10000)){var p=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(f);if(p){var s=parseFloat(p[1]),o=(p[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return s*m;case"days":case"day":case"d":return s*x;case"hours":case"hour":case"hrs":case"hr":case"h":return s*g;case"minutes":case"minute":case"mins":case"min":case"m":return s*v;case"seconds":case"second":case"secs":case"sec":case"s":return s*w;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;}}}}function h(e){return e>=x?Math.round(e/x)+"d":e>=g?Math.round(e/g)+"h":e>=v?Math.round(e/v)+"m":e>=w?Math.round(e/w)+"s":e+"ms";}function l(e){return z(e,x,"day")||z(e,g,"hour")||z(e,v,"minute")||z(e,w,"second")||e+" ms";}function z(f,o,p){return o>f?void 0:1.5*o>f?Math.floor(f/o)+" "+p:Math.ceil(f/o)+" "+p+"s";}var w=1000,v=60*w,g=60*v,x=24*g,m=365.25*x;q.exports=function(f,n){return n=n||{},"string"==typeof f?d(f):n["long"]?l(f):h(f);};},{}],26:[function(d,f,g){(function(j){var q=/^[\],:{}\s]*$/,m=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,h=/(?:^|:|,)(?:\s*\[)+/g,l=/^\s+/,e=/\s+$/;f.exports=function(n){return"string"==typeof n&&n?(n=n.replace(l,"").replace(e,""),j.JSON&&JSON.parse?JSON.parse(n):q.test(n.replace(m,"@").replace(p,"]").replace(h,""))?new Function("return "+n)():void 0):null;};}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});},{}],27:[function(d,f,g){g.encode=function(h){var j="";for(var l in h){h.hasOwnProperty(l)&&(j.length&&(j+="&"),j+=encodeURIComponent(l)+"="+encodeURIComponent(h[l]));}return j;},g.decode=function(j){for(var m={},q=j.split("&"),l=0,p=q.length;p>l;l++){var h=q[l].split("=");m[decodeURIComponent(h[0])]=decodeURIComponent(h[1]);}return m;};},{}],28:[function(d,g,j){var f=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,h=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];g.exports=function(o){var q=o,u=o.indexOf("["),m=o.indexOf("]");-1!=u&&-1!=m&&(o=o.substring(0,u)+o.substring(u,m).replace(/:/g,";")+o.substring(m,o.length));for(var p=f.exec(o||""),l={},r=14;r--;){l[h[r]]=p[r]||"";}return -1!=u&&-1!=m&&(l.source=q,l.host=l.host.substring(1,l.host.length-1).replace(/;/g,":"),l.authority=l.authority.replace("[","").replace("]","").replace(/;/g,":"),l.ipv6uri=!0),l;};},{}],29:[function(f,g,d){(function(h){!function(E){function I(m){for(var s,v,p=[],u=0,l=m.length;l>u;){s=m.charCodeAt(u++),s>=55296&&56319>=s&&l>u?(v=m.charCodeAt(u++),56320==(64512&v)?p.push(((1023&s)<<10)+(1023&v)+65536):(p.push(s),u--)):p.push(s);}return p;}function t(l){for(var p,u=l.length,m=-1,s="";++m65535&&(p-=65536,s+=n(p>>>10&1023|55296),p=56320|1023&p),s+=n(p);}return s;}function P(l){if(l>=55296&&57343>=l){throw Error("Lone surrogate U+"+l.toString(16).toUpperCase()+" is not a scalar value");}}function N(l,m){return n(l>>m&63|128);}function D(l){if(0==(4294967168&l)){return n(l);}var m="";return 0==(4294965248&l)?m=n(l>>6&31|192):0==(4294901760&l)?(P(l),m=n(l>>12&15|224),m+=N(l,6)):0==(4292870144&l)&&(m=n(l>>18&7|240),m+=N(l,12),m+=N(l,6)),m+=n(63&l|128);}function r(l){for(var u,w=I(l),p=w.length,v=-1,m="";++v=O){throw Error("Invalid byte index");}var l=255&F[q];if(q++,128==(192&l)){return 63&l;}throw Error("Invalid continuation byte");}function J(){var l,p,u,m,s;if(q>O){throw Error("Invalid byte index");}if(q==O){return !1;}if(l=255&F[q],q++,0==(128&l)){return l;}if(192==(224&l)){var p=L();if(s=(31&l)<<6|p,s>=128){return s;}throw Error("Invalid continuation byte");}if(224==(240&l)){if(p=L(),u=L(),s=(15&l)<<12|p<<6|u,s>=2048){return P(s),s;}throw Error("Invalid continuation byte");}if(240==(248&l)&&(p=L(),u=L(),m=L(),s=(15&l)<<18|p<<12|u<<6|m,s>=65536&&1114111>=s)){return s;}throw Error("Invalid UTF-8 detected");}function G(l){F=I(l),O=F.length,q=0;for(var m,o=[];(m=J())!==!1;){o.push(m);}return t(o);}var M="object"==typeof d&&d,e="object"==typeof g&&g&&g.exports==M&&g,K="object"==typeof h&&h;(K.global===K||K.window===K)&&(E=K);var F,O,q,n=String.fromCharCode,H={version:"2.0.0",encode:r,decode:G};if("function"==typeof b&&"object"==typeof b.amd&&b.amd){b(function(){return H;});}else{if(M&&!M.nodeType){if(e){e.exports=H;}else{var j={},C=j.hasOwnProperty;for(var z in H){C.call(H,z)&&(M[z]=H[z]);}}}else{E.utf8=H;}}}(this);}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});},{}],30:[function(y,q,j){function d(f){var n="";do{n=w[f%v]+n,f=Math.floor(f/v);}while(f>0);return n;}function h(f){var n=0;for(m=0;mm;m++){g[w[m]]=m;}l.encode=d,l.decode=h,q.exports=l;},{}],31:[function(p,j,g){function d(B,z){"object"==typeof B&&(z=B,B=void 0),z=z||{};var v,o=f(B),w=o.source,s=o.id,A=o.path,y=l[s]&&A in l[s].nsps,x=z.forceNew||z["force new connection"]||!1===z.multiplex||y;return x?(m("ignoring socket cache for %s",w),v=q(w,z)):(l[s]||(m("new io instance for %s",w),l[s]=q(w,z)),v=l[s]),v.socket(o.path);}var f=p("./url"),h=p("socket.io-parser"),q=p("./manager"),m=p("debug")("socket.io-client");j.exports=g=d;var l=g.managers={};g.protocol=h.protocol,g.connect=d,g.Manager=p("./manager"),g.Socket=p("./socket");},{"./manager":32,"./socket":34,"./url":35,debug:39,"socket.io-parser":47}],32:[function(C,y,m){function d(f,h){return this instanceof d?(f&&"object"==typeof f&&(h=f,f=void 0),h=h||{},h.path=h.path||"/socket.io",this.nsps={},this.subs=[],this.opts=h,this.reconnection(h.reconnection!==!1),this.reconnectionAttempts(h.reconnectionAttempts||1/0),this.reconnectionDelay(h.reconnectionDelay||1000),this.reconnectionDelayMax(h.reconnectionDelayMax||5000),this.randomizationFactor(h.randomizationFactor||0.5),this.backoff=new w({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==h.timeout?20000:h.timeout),this.readyState="closed",this.uri=f,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[],this.encoder=new A.Encoder,this.decoder=new A.Decoder,this.autoConnect=h.autoConnect!==!1,void (this.autoConnect&&this.open())):new d(f,h);}var j=C("engine.io-client"),v=C("./socket"),D=C("component-emitter"),A=C("socket.io-parser"),z=C("./on"),g=C("component-bind"),B=C("debug")("socket.io-client:manager"),x=C("indexof"),w=C("backo2"),q=Object.prototype.hasOwnProperty;y.exports=d,d.prototype.emitAll=function(){this.emit.apply(this,arguments);for(var e in this.nsps){q.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments);}},d.prototype.updateSocketIds=function(){for(var e in this.nsps){q.call(this.nsps,e)&&(this.nsps[e].id=this.engine.id);}},D(d.prototype),d.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection;},d.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts;},d.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay;},d.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor;},d.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax;},d.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout;},d.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect();},d.prototype.open=d.prototype.connect=function(l){if(B("readyState %s",this.readyState),~this.readyState.indexOf("open")){return this;}B("opening %s",this.uri),this.engine=j(this.uri,this.opts);var u=this.engine,E=this;this.readyState="opening",this.skipReconnect=!1;var p=z(u,"open",function(){E.onopen(),l&&l();}),h=z(u,"error",function(s){if(B("connect_error"),E.cleanup(),E.readyState="closed",E.emitAll("connect_error",s),l){var n=new Error("Connection error");n.data=s,l(n);}else{E.maybeReconnectOnOpen();}});if(!1!==this._timeout){var o=this._timeout;B("connect attempt will timeout after %d",o);var f=setTimeout(function(){B("connect attempt timed out after %d",o),p.destroy(),u.close(),u.emit("error","timeout"),E.emitAll("connect_timeout",o);},o);this.subs.push({destroy:function(){clearTimeout(f);}});}return this.subs.push(p),this.subs.push(h),this;},d.prototype.onopen=function(){B("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(z(e,"data",g(this,"ondata"))),this.subs.push(z(e,"ping",g(this,"onping"))),this.subs.push(z(e,"pong",g(this,"onpong"))),this.subs.push(z(e,"error",g(this,"onerror"))),this.subs.push(z(e,"close",g(this,"onclose"))),this.subs.push(z(this.decoder,"decoded",g(this,"ondecoded")));},d.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping");},d.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing);},d.prototype.ondata=function(e){this.decoder.add(e);},d.prototype.ondecoded=function(e){this.emit("packet",e);},d.prototype.onerror=function(e){B("error",e),this.emitAll("error",e);},d.prototype.socket=function(f){function l(){~x(h.connecting,o)||h.connecting.push(o);}var o=this.nsps[f];if(!o){o=new v(this,f),this.nsps[f]=o;var h=this;o.on("connecting",l),o.on("connect",function(){o.id=h.engine.id;}),this.autoConnect&&l();}return o;},d.prototype.destroy=function(f){var h=x(this.connecting,f);~h&&this.connecting.splice(h,1),this.connecting.length||this.close();},d.prototype.packet=function(f){B("writing packet %j",f);var h=this;h.encoding?h.packetBuffer.push(f):(h.encoding=!0,this.encoder.encode(f,function(l){for(var e=0;e0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e);}},d.prototype.cleanup=function(){B("cleanup");for(var e;e=this.subs.shift();){e.destroy();}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy();},d.prototype.close=d.prototype.disconnect=function(){B("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"==this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close();},d.prototype.onclose=function(e){B("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect();},d.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect){return this;}var f=this;if(this.backoff.attempts>=this._reconnectionAttempts){B("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;}else{var h=this.backoff.duration();B("will wait %dms before reconnect attempt",h),this.reconnecting=!0;var l=setTimeout(function(){f.skipReconnect||(B("attempting reconnect"),f.emitAll("reconnect_attempt",f.backoff.attempts),f.emitAll("reconnecting",f.backoff.attempts),f.skipReconnect||f.open(function(n){n?(B("reconnect attempt error"),f.reconnecting=!1,f.reconnect(),f.emitAll("reconnect_error",n.data)):(B("reconnect success"),f.onreconnect());}));},h);this.subs.push({destroy:function(){clearTimeout(l);}});}},d.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e);};},{"./on":33,"./socket":34,backo2:36,"component-bind":37,"component-emitter":38,debug:39,"engine.io-client":1,indexof:42,"socket.io-parser":47}],33:[function(d,g,h){function f(j,l,m){return j.on(l,m),{destroy:function(){j.removeListener(l,m);}};}g.exports=f;},{}],34:[function(A,w,l){function d(f,h){this.io=f,this.nsp=h,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.io.autoConnect&&this.open();}var j=A("socket.io-parser"),m=A("component-emitter"),B=A("to-array"),y=A("./on"),x=A("component-bind"),g=A("debug")("socket.io-client:socket"),z=A("has-binary");w.exports=l=d;var v={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},q=m.prototype.emit;m(d.prototype),d.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[y(e,"open",x(this,"onopen")),y(e,"packet",x(this,"onpacket")),y(e,"close",x(this,"onclose"))];}},d.prototype.open=d.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.open(),"open"==this.io.readyState&&this.onopen(),this.emit("connecting"),this);},d.prototype.send=function(){var e=B(arguments);return e.unshift("message"),this.emit.apply(this,e),this;},d.prototype.emit=function(f){if(v.hasOwnProperty(f)){return q.apply(this,arguments),this;}var o=B(arguments),p=j.EVENT;z(o)&&(p=j.BINARY_EVENT);var h={type:p,data:o};return h.options={},h.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof o[o.length-1]&&(g("emitting packet with ack id %d",this.ids),this.acks[this.ids]=o.pop(),h.id=this.ids++),this.connected?this.packet(h):this.sendBuffer.push(h),delete this.flags,this;},d.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e);},d.prototype.onopen=function(){g("transport is open - connecting"),"/"!=this.nsp&&this.packet({type:j.CONNECT});},d.prototype.onclose=function(e){g("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e);},d.prototype.onpacket=function(e){if(e.nsp==this.nsp){switch(e.type){case j.CONNECT:this.onconnect();break;case j.EVENT:this.onevent(e);break;case j.BINARY_EVENT:this.onevent(e);break;case j.ACK:this.onack(e);break;case j.BINARY_ACK:this.onack(e);break;case j.DISCONNECT:this.ondisconnect();break;case j.ERROR:this.emit("error",e.data);}}},d.prototype.onevent=function(f){var h=f.data||[];g("emitting event %j",h),null!=f.id&&(g("attaching ack callback to event"),h.push(this.ack(f.id))),this.connected?q.apply(this,h):this.receiveBuffer.push(h);},d.prototype.ack=function(f){var h=this,o=!1;return function(){if(!o){o=!0;var n=B(arguments);g("sending ack %j",n);var e=z(n)?j.BINARY_ACK:j.ACK;h.packet({type:e,id:f,data:n});}};},d.prototype.onack=function(f){var h=this.acks[f.id];"function"==typeof h?(g("calling ack %s with %j",f.id,f.data),h.apply(this,f.data),delete this.acks[f.id]):g("bad ack %s",f.id);},d.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered();},d.prototype.emitBuffered=function(){var e;for(e=0;e0&&e.jitter<=1?e.jitter:0,this.attempts=0;}g.exports=f,f.prototype.duration=function(){var j=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var l=Math.random(),m=Math.floor(l*this.jitter*j);j=0==(1&Math.floor(10*l))?j-m:j+m;}return 0|Math.min(j,this.max);},f.prototype.reset=function(){this.attempts=0;},f.prototype.setMin=function(e){this.ms=e;},f.prototype.setMax=function(e){this.max=e;},f.prototype.setJitter=function(e){this.jitter=e;};},{}],37:[function(d,g,h){var f=[].slice;g.exports=function(j,l){if("string"==typeof l&&(l=j[l]),"function"!=typeof l){throw new Error("bind() requires a function");}var m=f.call(arguments,2);return function(){return l.apply(j,m.concat(f.call(arguments)));};};},{}],38:[function(d,g,j){function f(e){return e?h(e):void 0;}function h(l){for(var m in f.prototype){l[m]=f.prototype[m];}return l;}g.exports=f,f.prototype.on=f.prototype.addEventListener=function(l,m){return this._callbacks=this._callbacks||{},(this._callbacks["$"+l]=this._callbacks["$"+l]||[]).push(m),this;},f.prototype.once=function(l,m){function o(){this.off(l,o),m.apply(this,arguments);}return o.fn=m,this.on(l,o),this;},f.prototype.off=f.prototype.removeListener=f.prototype.removeAllListeners=f.prototype.removeEventListener=function(l,p){if(this._callbacks=this._callbacks||{},0==arguments.length){return this._callbacks={},this;}var s=this._callbacks["$"+l];if(!s){return this;}if(1==arguments.length){return delete this._callbacks["$"+l],this;}for(var m,q=0;qm;++m){s[m].apply(this,p);}}return this;},f.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[];},f.prototype.hasListeners=function(e){return !!this.listeners(e).length;};},{}],39:[function(d,f,g){arguments[4][17][0].apply(g,arguments);},{"./debug":40,dup:17}],40:[function(d,f,g){arguments[4][18][0].apply(g,arguments);},{dup:18,ms:44}],41:[function(d,f,g){(function(j){function e(l){function m(o){if(!o){return !1;}if(j.Buffer&&j.Buffer.isBuffer&&j.Buffer.isBuffer(o)||j.ArrayBuffer&&o instanceof ArrayBuffer||j.Blob&&o instanceof Blob||j.File&&o instanceof File){return !0;}if(h(o)){for(var p=0;p1)))/4)-aI((l-1901+p)/100)+aI((l-1601+p)/400);};}if((aF=aw.hasOwnProperty)||(aF=function(l){var p,u={};return(u.__proto__=null,u.__proto__={toString:1},u).toString!=aG?aF=function(y){var z=this.__proto__,A=y in (this.__proto__=null,this);return this.__proto__=z,A;}:(p=u.constructor,aF=function(y){var z=(this.constructor||p).prototype;return y in this&&!(y in z&&this[y]===z[y]);}),u=null,aF.call(this,l);}),al=function(p,y){var A,u,z,l=0;(A=function(){this.valueOf=0;}).prototype.valueOf=0,u=new A;for(z in u){aF.call(u,z)&&l++;}return A=u=null,l?al=2==l?function(B,D){var F,C={},E=aG.call(B)==ay;for(F in B){E&&"prototype"==F||aF.call(C,F)||!(C[F]=1)||!aF.call(B,F)||D(F);}}:function(B,D){var F,C,E=aG.call(B)==ay;for(F in B){E&&"prototype"==F||!aF.call(B,F)||(C="constructor"===F)||D(F);}(C||aF.call(B,F="constructor"))&&D(F);}:(u=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],al=function(D,E){var H,F,C=aG.call(D)==ay,B=!C&&"function"!=typeof D.constructor&&x[typeof D.hasOwnProperty]&&D.hasOwnProperty||aF;for(H in D){C&&"prototype"==H||!B.call(D,H)||E(H);}for(F=u.length;H=u[--F];B.call(D,H)&&E(H)){}}),al(p,y);},!av("json-stringify")){var az={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},V="000000",Y=function(l,p){return(V+(p||0)).slice(-l);},Q="\\u00",ag=function(p){for(var z='"',B=0,y=p.length,A=!af||y>10,l=A&&(af?p.split(""):p);y>B;B++){var u=p.charCodeAt(B);switch(u){case 8:case 9:case 10:case 12:case 13:case 34:case 92:z+=az[u];break;default:if(32>u){z+=Q+Y(2,u.toString(16));break;}z+=A?l[B]:p.charAt(B);}}return z+'"';},s=function(I,aO,U,M,S,aM,J){var aQ,aP,O,F,aN,aJ,X,D,C,aK,H,y,aL,A,z,N;try{aQ=aO[I];}catch(B){}if("object"==typeof aQ&&aQ){if(aP=aG.call(aQ),aP!=am||aF.call(aQ,"toJSON")){"function"==typeof aQ.toJSON&&(aP!=aj&&aP!=ai&&aP!=ah||aF.call(aQ,"toJSON"))&&(aQ=aQ.toJSON(I));}else{if(aQ>-1/0&&1/0>aQ){if(W){for(aN=aI(aQ/86400000),O=aI(aN/365.2425)+1970-1;W(O+1,0)<=aN;O++){}for(F=aI((aN-W(O,0))/30.42);W(O,F+1)<=aN;F++){}aN=1+aN-W(O,F),aJ=(aQ%86400000+86400000)%86400000,X=aI(aJ/3600000)%24,D=aI(aJ/60000)%60,C=aI(aJ/1000)%60,aK=aJ%1000;}else{O=aQ.getUTCFullYear(),F=aQ.getUTCMonth(),aN=aQ.getUTCDate(),X=aQ.getUTCHours(),D=aQ.getUTCMinutes(),C=aQ.getUTCSeconds(),aK=aQ.getUTCMilliseconds();}aQ=(0>=O||O>=10000?(0>O?"-":"+")+Y(6,0>O?-O:O):Y(4,O))+"-"+Y(2,F+1)+"-"+Y(2,aN)+"T"+Y(2,X)+":"+Y(2,D)+":"+Y(2,C)+"."+Y(3,aK)+"Z";}else{aQ=null;}}}if(U&&(aQ=U.call(aO,I,aQ)),null===aQ){return"null";}if(aP=aG.call(aQ),aP==K){return""+aQ;}if(aP==aj){return aQ>-1/0&&1/0>aQ?""+aQ:"null";}if(aP==ai){return ag(""+aQ);}if("object"==typeof aQ){for(A=J.length;A--;){if(J[A]===aQ){throw aD();}}if(J.push(aQ),H=[],z=aM,aM+=S,aP==ah){for(aL=0,A=aQ.length;A>aL;aL++){y=s(aL,aQ,U,M,S,aM,J),H.push(y===aC?"null":y);}N=H.length?S?"[\n"+aM+H.join(",\n"+aM)+"\n"+z+"]":"["+H.join(",")+"]":"[]";}else{al(M||aQ,function(l){var p=s(l,aQ,U,M,S,aM,J);p!==aC&&H.push(ag(l)+":"+(S?" ":"")+p);}),N=H.length?S?"{\n"+aM+H.join(",\n"+aM)+"\n"+z+"}":"{"+H.join(",")+"}":"{}";}return J.pop(),N;}};aE.stringify=function(H,C,A){var l,z,B,E;if(x[typeof C]&&C){if((E=aG.call(C))==ay){z=C;}else{if(E==ah){B={};for(var D,y=0,F=C.length;F>y;D=C[y++],E=aG.call(D),(E==ai||E==aj)&&(B[D]=1)){}}}}if(A){if((E=aG.call(A))==aj){if((A-=A%1)>0){for(l="",A>10&&(A=10);l.lengthat;){switch(A=l.charCodeAt(at)){case 9:case 10:case 13:case 32:at++;break;case 123:case 125:case 91:case 93:case 58:case 44:return p=af?l.charAt(at):l[at],at++,p;case 34:for(p="@",at++;u>at;){if(A=l.charCodeAt(at),32>A){ad();}else{if(92==A){switch(A=l.charCodeAt(++at)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:p+=ac[A],at++;break;case 117:for(z=++at,B=at+4;B>at;at++){A=l.charCodeAt(at),A>=48&&57>=A||A>=97&&102>=A||A>=65&&70>=A||ad();}p+=Z("0x"+l.slice(z,at));break;default:ad();}}else{if(34==A){break;}for(A=l.charCodeAt(at),z=at;A>=32&&92!=A&&34!=A;){A=l.charCodeAt(++at);}p+=l.slice(z,at);}}}if(34==l.charCodeAt(at)){return at++,p;}ad();default:if(z=at,45==A&&(y=!0,A=l.charCodeAt(++at)),A>=48&&57>=A){for(48==A&&(A=l.charCodeAt(at+1),A>=48&&57>=A)&&ad(),y=!1;u>at&&(A=l.charCodeAt(at),A>=48&&57>=A);at++){}if(46==l.charCodeAt(at)){for(B=++at;u>B&&(A=l.charCodeAt(B),A>=48&&57>=A);B++){}B==at&&ad(),at=B;}if(A=l.charCodeAt(at),101==A||69==A){for(A=l.charCodeAt(++at),(43==A||45==A)&&at++,B=at;u>B&&(A=l.charCodeAt(B),A>=48&&57>=A);B++){}B==at&&ad(),at=B;}return +l.slice(z,at);}if(y&&ad(),"true"==l.slice(at,at+4)){return at+=4,!0;}if("false"==l.slice(at,at+5)){return at+=5,!1;}if("null"==l.slice(at,at+4)){return at+=4,null;}ad();}}return"$";},ab=function(l){var p,u;if("$"==l&&ad(),"string"==typeof l){if("@"==(af?l.charAt(0):l[0])){return l.slice(1);}if("["==l){for(p=[];l=ak(),"]"!=l;u||(u=!0)){u&&(","==l?(l=ak(),"]"==l&&ad()):ad()),","==l&&ad(),p.push(ab(l));}return p;}if("{"==l){for(p={};l=ak(),"}"!=l;u||(u=!0)){u&&(","==l?(l=ak(),"}"==l&&ad()):ad()),(","==l||"string"!=typeof l||"@"!=(af?l.charAt(0):l[0])||":"!=ak())&&ad(),p[l.slice(1)]=ab(ak());}return p;}ad();}return l;},o=function(l,u,y){var p=ae(l,u,y);p===aC?delete l[u]:l[u]=p;},ae=function(l,u,z){var p,y=l[u];if("object"==typeof y&&y){if(aG.call(y)==ah){for(p=y.length;p--;){o(y,p,z);}}else{al(y,function(A){o(y,A,z);});}}return z.call(l,u,y);};aE.parse=function(l,u){var y,p;return at=0,aa=""+l,y=ab(ak()),"$"!=ak()&&ad(),at=aa=null,u&&aG.call(u)==ay?ae((p={},p[""]=y,p),"",u):y;};}}return aE.runInContext=j,aE;}var n="function"==typeof b&&b.amd,x={"function":!0,object:!0},v=x[typeof d]&&d&&!d.nodeType&&d,t=x[typeof window]&&window||this,e=v&&x[typeof g]&&g&&!g.nodeType&&"object"==typeof h&&h;if(!e||e.global!==e&&e.window!==e&&e.self!==e||(t=e),v&&!n){j(t,v);}else{var w=t.JSON,r=t.JSON3,q=!1,m=j(t,t.JSON3={noConflict:function(){return q||(q=!0,t.JSON=w,t.JSON3=r,w=r=null),m;}});t.JSON={parse:m.parse,stringify:m.stringify};}n&&b(function(){return m;});}).call(this);}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});},{}],51:[function(d,g,h){function f(j,m){var o=[];m=m||0;for(var l=m||0;l= 1.0.0"};f.helpers={};f.partials={};var q=Object.prototype.toString,d="[object Function]",m="[object Object]";f.registerHelper=function(x,y,l){if(q.call(x)===m){if(l||y){throw new f.Exception("Arg not supported with multiple helpers");}f.Utils.extend(this.helpers,x);}else{if(l){y.not=l;}this.helpers[x]=y;}};f.registerPartial=function(l,x){if(q.call(l)===m){f.Utils.extend(this.partials,l);}else{this.partials[l]=x;}};f.registerHelper("helperMissing",function(l){if(arguments.length===2){return e;}else{throw new Error("Missing helper: '"+l+"'");}});f.registerHelper("blockHelperMissing",function(y,x){var l=x.inverse||function(){},A=x.fn;var z=q.call(y);if(z===d){y=y.call(this);}if(y===true){return A(this);}else{if(y===false||y==null){return l(this);}else{if(z==="[object Array]"){if(y.length>0){return f.helpers.each(y,x);}else{return l(this);}}else{return A(y);}}}});f.K=function(){};f.createFrame=Object.create||function(l){f.K.prototype=l;var x=new f.K();f.K.prototype=null;return x;};f.logger={DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,methodMap:{0:"debug",1:"info",2:"warn",3:"error"},log:function(y,l){if(f.logger.level<=y){var x=f.logger.methodMap[y];if(typeof console!=="undefined"&&console[x]){console[x].call(console,l);}}}};f.log=function(x,l){f.logger.log(x,l);};f.registerHelper("each",function(l,F){var D=F.fn,y=F.inverse;var A=0,B="",z;var C=q.call(l);if(C===d){l=l.call(this);}if(F.data){z=f.createFrame(F.data);}if(l&&typeof l==="object"){if(l instanceof Array){for(var x=l.length;A2){K.push("'"+this.terminals_[U]+"'");}}if(this.lexer.showPosition){W="Parse error on line "+(N+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+K.join(", ")+", got '"+(this.terminals_[Z]||Z)+"'";}else{W="Parse error on line "+(N+1)+": Unexpected "+(Z==1?"end of input":"'"+(this.terminals_[Z]||Z)+"'");}this.parseError(W,{text:this.lexer.match,token:this.terminals_[Z]||Z,line:this.lexer.yylineno,loc:F,expected:K});}}if(Y[0] instanceof Array&&Y.length>1){throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+Z);}switch(Y[0]){case 1:J.push(Z);ac.push(this.lexer.yytext);O.push(this.lexer.yylloc);J.push(Y[1]);Z=null;if(!V){aa=this.lexer.yyleng;E=this.lexer.yytext;N=this.lexer.yylineno;F=this.lexer.yylloc;if(G>0){G--;}}else{Z=V;V=null;}break;case 2:ab=this.productions_[Y[1]][1];X.$=ac[ac.length-ab];X._$={first_line:O[O.length-(ab||1)].first_line,last_line:O[O.length-1].last_line,first_column:O[O.length-(ab||1)].first_column,last_column:O[O.length-1].last_column};if(H){X._$.range=[O[O.length-(ab||1)].range[0],O[O.length-1].range[1]];}P=this.performAction.call(X,E,aa,N,this.yy,Y[1],ac,O);if(typeof P!=="undefined"){return P;}if(ab){J=J.slice(0,-1*ab*2);ac=ac.slice(0,-1*ab);O=O.slice(0,-1*ab);}J.push(this.productions_[Y[1]][0]);ac.push(X.$);O.push(X._$);D=ad[J[J.length-2]][J[J.length-1]];J.push(D);break;case 3:return true;}}return true;}};var l=(function(){var G=({EOF:1,parseError:function I(L,K){if(this.yy.parser){this.yy.parser.parseError(L,K);}else{throw new Error(L);}},setInput:function(K){this._input=K;this._more=this._less=this.done=false;this.yylineno=this.yyleng=0;this.yytext=this.matched=this.match="";this.conditionStack=["INITIAL"];this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0};if(this.options.ranges){this.yylloc.range=[0,0];}this.offset=0;return this;},input:function(){var L=this._input[0];this.yytext+=L;this.yyleng++;this.offset++;this.match+=L;this.matched+=L;var K=L.match(/(?:\r\n?|\n).*/g);if(K){this.yylineno++;this.yylloc.last_line++;}else{this.yylloc.last_column++;}if(this.options.ranges){this.yylloc.range[1]++;}this._input=this._input.slice(1);return L;},unput:function(M){var K=M.length;var L=M.split(/(?:\r\n?|\n)/g);this._input=M+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-K-1);this.offset-=K;var O=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1);this.matched=this.matched.substr(0,this.matched.length-1);if(L.length-1){this.yylineno-=L.length-1;}var N=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:L?(L.length===O.length?this.yylloc.first_column:0)+O[O.length-L.length].length-L[0].length:this.yylloc.first_column-K};if(this.options.ranges){this.yylloc.range=[N[0],N[0]+this.yyleng-K];}return this;},more:function(){this._more=true;return this;},less:function(K){this.unput(this.match.slice(K));},pastInput:function(){var K=this.matched.substr(0,this.matched.length-this.match.length);return(K.length>20?"...":"")+K.substr(-20).replace(/\n/g,"");},upcomingInput:function(){var K=this.match;if(K.length<20){K+=this._input.substr(0,20-K.length);}return(K.substr(0,20)+(K.length>20?"...":"")).replace(/\n/g,"");},showPosition:function(){var K=this.pastInput();var L=new Array(K.length+1).join("-");return K+this.upcomingInput()+"\n"+L+"^";},next:function(){if(this.done){return this.EOF;}if(!this._input){this.done=true;}var Q,O,L,N,M,K;if(!this._more){this.yytext="";this.match="";}var R=this._currentRules();for(var P=0;PO[0].length)){O=L;N=P;if(!this.options.flex){break;}}}if(O){K=O[0].match(/(?:\r\n?|\n).*/g);if(K){this.yylineno+=K.length;}this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:K?K[K.length-1].length-K[K.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+O[0].length};this.yytext+=O[0];this.match+=O[0];this.matches=O;this.yyleng=this.yytext.length;if(this.options.ranges){this.yylloc.range=[this.offset,this.offset+=this.yyleng];}this._more=false;this._input=this._input.slice(O[0].length);this.matched+=O[0];Q=this.performAction.call(this,this.yy,this,R[N],this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input){this.done=false;}if(Q){return Q;}else{return;}}if(this._input===""){return this.EOF;}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno});}},lex:function D(){var K=this.next();if(typeof K!=="undefined"){return K;}else{return this.lex();}},begin:function E(K){this.conditionStack.push(K);},popState:function J(){return this.conditionStack.pop();},_currentRules:function H(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;},topState:function(){return this.conditionStack[this.conditionStack.length-2];},pushState:function E(K){this.begin(K);}});G.options={};G.performAction=function F(O,L,N,K){var M=K;switch(N){case 0:L.yytext="\\";return 14;break;case 1:if(L.yytext.slice(-1)!=="\\"){this.begin("mu");}if(L.yytext.slice(-1)==="\\"){L.yytext=L.yytext.substr(0,L.yyleng-1),this.begin("emu");}if(L.yytext){return 14;}break;case 2:return 14;break;case 3:if(L.yytext.slice(-1)!=="\\"){this.popState();}if(L.yytext.slice(-1)==="\\"){L.yytext=L.yytext.substr(0,L.yyleng-1);}return 14;break;case 4:L.yytext=L.yytext.substr(0,L.yyleng-4);this.popState();return 15;break;case 5:return 25;break;case 6:return 16;break;case 7:return 20;break;case 8:return 19;break;case 9:return 19;break;case 10:return 23;break;case 11:return 22;break;case 12:this.popState();this.begin("com");break;case 13:L.yytext=L.yytext.substr(3,L.yyleng-5);this.popState();return 15;break;case 14:return 22;break;case 15:return 37;break;case 16:return 36;break;case 17:return 36;break;case 18:return 40;break;case 19:break;case 20:this.popState();return 24;break;case 21:this.popState();return 18;break;case 22:L.yytext=L.yytext.substr(1,L.yyleng-2).replace(/\\"/g,'"');return 31;break;case 23:L.yytext=L.yytext.substr(1,L.yyleng-2).replace(/\\'/g,"'");return 31;break;case 24:return 38;break;case 25:return 33;break;case 26:return 33;break;case 27:return 32;break;case 28:return 36;break;case 29:L.yytext=L.yytext.substr(1,L.yyleng-2);return 36;break;case 30:return"INVALID";break;case 31:return 5;break;}};G.rules=[/^(?:\\\\(?=(\{\{)))/,/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|$)))/,/^(?:[\s\S]*?--\}\})/,/^(?:\{\{>)/,/^(?:\{\{#)/,/^(?:\{\{\/)/,/^(?:\{\{\^)/,/^(?:\{\{\s*else\b)/,/^(?:\{\{\{)/,/^(?:\{\{&)/,/^(?:\{\{!--)/,/^(?:\{\{![\s\S]*?\}\})/,/^(?:\{\{)/,/^(?:=)/,/^(?:\.(?=[}\/ ]))/,/^(?:\.\.)/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}\}\})/,/^(?:\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=[}\s]))/,/^(?:false(?=[}\s]))/,/^(?:-?[0-9]+(?=[}\s]))/,/^(?:[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.]))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/];G.conditions={mu:{rules:[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],inclusive:false},emu:{rules:[3],inclusive:false},com:{rules:[4],inclusive:false},INITIAL:{rules:[0,1,2,31],inclusive:true}};return G;})();C.lexer=l;function A(){this.yy={};}A.prototype=C;C.Parser=A;return new A;})();f.Parser=u;f.parse=function(l){if(l.constructor===f.AST.ProgramNode){return l;}f.Parser.yy=f.AST;return f.Parser.parse(l);};f.AST={};f.AST.ProgramNode=function(x,l){this.type="program";this.statements=x;if(l){this.inverse=new f.AST.ProgramNode(l);}};f.AST.MustacheNode=function(B,y,x){this.type="mustache";this.escaped=!x;this.hash=y;var A=this.id=B[0];var z=this.params=B.slice(1);var l=this.eligibleHelper=A.isSimple;this.isHelper=l&&(z.length||y);};f.AST.PartialNode=function(l,x){this.type="partial";this.partialName=l;this.context=x;};f.AST.BlockNode=function(y,x,l,A){var z=function(B,C){if(B.original!==C.original){throw new f.Exception(B.original+" doesn't match "+C.original);}};z(y.id,A);this.type="block";this.mustache=y;this.program=x;this.inverse=l;if(this.inverse&&!this.program){this.isInverse=true;}};f.AST.ContentNode=function(l){this.type="content";this.string=l;};f.AST.HashNode=function(l){this.type="hash";this.pairs=l;};f.AST.IdNode=function(C){this.type="ID";var B="",z=[],D=0;for(var A=0,x=C.length;A0){throw new f.Exception("Invalid path: "+B);}else{if(y===".."){D++;}else{this.isScoped=true;}}}else{z.push(y);}}this.original=B;this.parts=z;this.string=z.join(".");this.depth=D;this.isSimple=C.length===1&&!this.isScoped&&D===0;this.stringModeValue=this.string;};f.AST.PartialNameNode=function(l){this.type="PARTIAL_NAME";this.name=l.original;};f.AST.DataNode=function(l){this.type="DATA";this.id=l;};f.AST.StringNode=function(l){this.type="STRING";this.original=this.string=this.stringModeValue=l;};f.AST.IntegerNode=function(l){this.type="INTEGER";this.original=this.integer=l;this.stringModeValue=Number(l);};f.AST.BooleanNode=function(l){this.type="BOOLEAN";this.bool=l;this.stringModeValue=l==="true";};f.AST.CommentNode=function(l){this.type="comment";this.comment=l;};var t=["description","fileName","lineNumber","message","name","number","stack"];f.Exception=function(y){var x=Error.prototype.constructor.apply(this,arguments);for(var l=0;l":">",'"':""","'":"'","`":"`"};var g=/[&<>"'`]/g;var s=/[&<>"'`]/;var w=function(l){return o[l]||"&";};f.Utils={extend:function(y,x){for(var l in x){if(x.hasOwnProperty(l)){y[l]=x[l];}}},escapeExpression:function(l){if(l instanceof f.SafeString){return l.toString();}else{if(l==null||l===false){return"";}}l=l.toString();if(!s.test(l)){return l;}return l.replace(g,w);},isEmpty:function(l){if(!l&&l!==0){return true;}else{if(q.call(l)==="[object Array]"&&l.length===0){return true;}else{return false;}}}};var n=f.Compiler=function(){};var j=f.JavaScriptCompiler=function(){};n.prototype={compiler:n,disassemble:function(){var C=this.opcodes,B,z=[],E,D;for(var A=0,x=C.length;A0){this.source[1]=this.source[1]+", "+z.join(", ");}if(!this.isChild){for(var D in this.context.aliases){if(this.context.aliases.hasOwnProperty(D)){this.source[1]=this.source[1]+", "+D+"="+this.context.aliases[D];}}}if(this.source[1]){this.source[1]="var "+this.source[1].substring(2)+";";}if(!this.isChild){this.source[1]+="\n"+this.context.programs.join("\n")+"\n";}if(!this.environment.isSimple){this.source.push("return buffer;");}var B=this.isChild?["depth0","data"]:["Handlebars","depth0","helpers","partials","data"];for(var C=0,A=this.environment.depths.list.length;Cthis.stackVars.length){this.stackVars.push("stack"+this.stackSlot);}return this.topStackName();},topStackName:function(){return"stack"+this.stackSlot;},flushInline:function(){var y=this.inlineStack;if(y.length){this.inlineStack=[];for(var x=0,l=y.length;x {{actionUuid}}